import { quality, EffectClassType, PassiveTriggerType, SkillType, TargetType, ConditionType, effectKey } from "../../../../../shared/face/enums";
import { _Skill } from "../../../types";
/**
 * 技能基础效果
 */
let data: _Skill[] = []
data.push({
    id: 'P1',
    name: '测试被动',
    classType: EffectClassType.防御型,
    quality:quality.F,
    desc: '受到普通攻击时恢复自身1生命，并对目标造成1魔法伤害',
    data: [
        {
            attKey: 'none',
            attRange: 0,
            fixed: 1
        },
        {
            attKey: 'none',
            attRange: 0,
            fixed: 1
        },
        
    ],
    effect: [effectKey.辅助类_生命回复, effectKey.伤害类_普通攻击],
    cooldown: 0,
    type: SkillType.被动技能,
    range: [1,2],
    targetType: [TargetType.自己, TargetType.敌方],
    triggerType: [PassiveTriggerType.受到普通攻击时],
    triggerConditionConfig: {
      groups: [{
        conditions: [{
          type: ConditionType.始终触发,
          value: 1
        }],
        logic: 'AND'
      }],
      logic: 'AND'
    }
})
export default data;